﻿@using TrexSpace.Shell.Helpers;



@{
    //ViewBag.Title = "LogOn"
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section HeadArea
{
@{UrlHelper ohelper = new UrlHelper(this.ViewContext.RequestContext); }
	<script src="~/Scripts/jquery.cookie.js" type="text/javascript"></script>
   
}

@section MainContent
{

    <h2>Log On using TrexPost Account</h2>
    @Html.ValidationSummary("Login was unsuccessful. Please correct the errors and try again.")
   


    <div id="login-account">
        <h3></h3>

    @using (Html.BeginForm()) {
        <div>
            <p>
                <label for="username">Username :</label>
                @Html.TextBox("username") 
                @Html.ValidationMessage("username", "*")
            </p>
            <p>
                <label for="password">Password:</label>
                @Html.Password("password")
                @Html.ValidationMessage("password", "*")
            </p>
            <p>
                @Html.CheckBox("rememberMe") <label class="inline" for="rememberMe">Remember me?</label>
            </p>
            <p>
                <input class="t-button-submit" type="submit" value="Log On" />
            </p>
            <p>
                Please enter your username and password. @Html.ActionLink("Register", "Register") if you don't have an account.
                
            </p>
        </div>
   
        }
   </div>
    
}



